ComponentOne Document Library for WPF
Add Method (C1SortedList<TKey,TValue>)

C1.WPF.Document.4 Assembly > C1.WPF.Document Namespace > C1SortedList<TKey,TValue> Class : Add Method
Adds value to the list, returns index of the added value, throws exception if value with specified key already exists.
Syntax
'Declaration
 
Public Function Add( _
   ByVal key As TKey, _
   ByVal value As TValue _
) As System.Integer
public System.int Add( 
   TKey key,
   TValue value
)

Parameters

key
value
See Also

Reference

C1SortedList<TKey,TValue> Class
C1SortedList<TKey,TValue> Members